/* A CSS Framework by Mike Stenhouse of Content with Style */ /* NAV */
div#nav {
	font-size: 11px;
	border-bottom: 1px solid #ccc;
	height: 24px;
	background-color: black;
}

* html div#nav { /* hide ie/mac \*/
	height: 1%;
	/* end hide */
}

div#nav div.wrapper {
	position: relative;
	left: 0;
	bottom: 0;
}

div#nav ul {
	width: auto;
	margin: 0;
	padding: 0;
	line-height: 20px;
	list-style: none;
}

div#nav li {
	float: left;
	display: inline;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 11px;
	line-height: 20px;
}

div#nav li.last {
	border-right: none;
}

div#nav a,div#nav a:link,div#nav a:active,div#nav a:visited {
	background: #BE2525;
	/* background: url(opaque.png); */ /*
    	opacity:0.4;
    	filter:alpha(opacity=40);
    	*/
	display: inline-block;
	/* hide from ie/mac \*/
	display: block;
	/* end hide */
	font-weight: bold;
	text-decoration: none;
	margin: 0;
	padding: 2px 10px;
	/* color: #4f8cc9; */
	color: white;
}

div#nav a:hover {
	text-decoration: none;
	/* background-color: #ebf5fc; */ /* background-color: #9B3131; */
	background-color: #7B2323;
	color: white;
}

div#nav a.current {
	display: inline-block;
	/* hide from ie/mac \*/
	display: block;
	/* end hide */
	color: #4f8cc9;
	background: #d7e9f5;
	font-size: 11px !important;
}

div#nav a.current,div#nav a.current:link,div#nav a.current:active,div#nav a.current:visited,div#nav a.current:hover
	{
	color: #4f8cc9;
	background-color: #d7e9f5;
}

div#nav .pad {
	padding-left: 10px;
}

/* END NAV */ /* DROP DOWN MENUS */ /* menu a tendina */
ul#primary-nav,ul#primary-nav ul {
	margin: 0;
	padding: 0;
	background: #fff; /* IE6 Bug */
	font-size: 100%;
}

/* menu principali senza sottomenu */
ul#primary-nav li {
	position: relative;
	list-style: none;
}

/* menu a tendina (comprensivi anche di sottomenu) */
ul#primary-nav li a {
	display: block;
	text-decoration: none;
	color: #777;
	width: 90px;
	text-align: center;
	white-space: nowrap;
}

/* Fix IE. Hide from IE Mac \*/
* html ul#primary-nav li {
	float: left;
	height: 1%;
}

* html ul#primary-nav li a {
	height: 1%;
}

* html ul#primary-nav ul {
	width: 149px;
}

* html ul#primary-nav ul li {
	width: 149px;
}

/* End */ /* sottomenu */
ul#primary-nav ul {
	position: absolute;
	display: none;
	left: 0px; /* Set 1px less than menu width */
	top: 22px;
}

ul#primary-nav ul li {
	border: 1px solid silver;
	border-bottom: 0;
	font-size: 11px;
}

ul#primary-nav ul li ul {
	margin-left: 149px;
	margin-top: -23px;
}

/* ultimo elemento del menu a tendina */
ul#primary-nav ul li.last {
	border-bottom: 1px solid silver;
	border-right: 1px solid silver;
}

ul#primary-nav li ul li a {
	padding: 3px 5px;
	text-align: left;
	width: 119px
}  /* Sub Menu Styles */
ul#primary-nav li:hover ul ul,ul#primary-nav li:hover ul ul ul,ul#primary-nav li.over ul ul,ul#primary-nav li.over ul ul ul
	{
	display: none;
}  /* Hide sub-menus initially */
ul#primary-nav li:hover ul,ul#primary-nav li li:hover ul,ul#primary-nav li li li:hover ul,ul#primary-nav li.over ul,ul#primary-nav li li.over ul,ul#primary-nav li li li.over ul
	{
	display: block;
}  /* The magic */
ul#primary-nav li.menubar {
	z-index: 10
}

ul#primary-nav li:hover,ul#primary-nav li.over {
	background-color: #fff
}

ul#primary-nav li a:hover {
	color: white;
}
/* END DROP DOWN MENUS */